﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ZhonTai.Admin.Core.Attributes;

namespace ZhonTai.Industry.Core.Consts
{
    /// <summary>
    /// 缓存键
    /// </summary>
    [ScanCacheKeys]
    public class CacheKey
    {
        /// <summary>
        /// 产品路线校验开关 industry:cfg:verify:
        /// </summary>
        [Description("产品路线校验开关")]
        public const string VerifyStatus = "industry:cfg:verify_status:";

        /// <summary>
        /// 工站查询时间 industry:run:start_time:
        /// </summary>
        [Description("工站查询时间")]
        public const string QueryStartTime = "industry:run:start_time:";

        /// <summary>
        /// 工站Id industry:cfg:station_id:
        /// </summary>
        [Description("工站ID")]
        public const string StationId = "industry:cfg:station_id:";

        /// <summary>
        /// 订单ID industry:cfg:OrderId:
        /// </summary>
        [Description("订单ID")]
        public const string OrderId = "industry:cfg:order_id:";

        /// <summary>
        /// 产品ID industry:cfg:product_id
        /// </summary>
        public const string ProductId = "industry:cfg:product_id:";

        /// <summary>
        /// 产品路线校验规则 industry:cfg:verify:
        /// </summary>
        [Description("产品路线校验规则")]
        public const string ProductVerify = "industry:cfg:verify:";

        /// <summary>
        /// 导出进度 industry:exprot:progress:
        /// </summary>
        [Description("导出进度")]
        public const string ExportProgress = "industry:exprot:progress:";

        /// <summary>
        /// 导出缓存文件 industry:exprot:progress:
        /// </summary>
        [Description("导出缓存文件")]
        public const string ExportFileName = "industry:exprot:name:";
    }
}